<!DOCTYPE html>
<html>
	<head lang="en">
		<meta charset="UTF-8">
		<title>{{ Config::get('app.title') }}--注册</title>
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
		<meta name="format-detection" content="telephone=no">
		<meta name="renderer" content="webkit">
		<meta http-equiv="Cache-Control" content="no-siteapp" />
<<<<<<< HEAD
=======
		<meta name="csrf-token" content="{{ csrf_token() }}">
>>>>>>> 31e42f2d3415b82d4888522298db4e7de5f9c8aa

		<link rel="stylesheet" href="/homes/AmazeUI-2.4.2/assets/css/amazeui.min.css" />
		<link href="/homes/css/dlstyle.css" rel="stylesheet" type="text/css">
		<script src="/homes/AmazeUI-2.4.2/assets/js/jquery.min.js"></script>
		<script src="/homes/AmazeUI-2.4.2/assets/js/amazeui.min.js"></script>
<<<<<<< HEAD
	<!-- 	// <script src="/homes/js/jquery-1.8.3.min.js"></script> -->
=======
>>>>>>> 31e42f2d3415b82d4888522298db4e7de5f9c8aa
	</head>

	<body>

		<div class="login-boxtitle">
<<<<<<< HEAD
			<a href="home/demo.html"><img alt="" src="/homes/images/logobig.png" /></a>
=======
			<a href="home/demo.html"><img alt="" src="/homes/images/logobig.jpg" /></a>
>>>>>>> 31e42f2d3415b82d4888522298db4e7de5f9c8aa
			<a href="http://www.yishow.com/home/login" style="position:absolute;right:20px;top:20px;">登录</a>
		</div>

		<div class="res-banner">
			<div class="res-main">
<<<<<<< HEAD
				<div class="login-banner-bg"><span></span><img src="/homes/images/big.jpg" /></div>
=======
				<div class="login-banner-bg" style="position:relative;top:20px;left:30px;"><span></span>
					<img src="/homes/images/timg.jpg" /><br>
					<span style="font-size:20px;color:red;font-weight:bold;">衣秀 yishow </span><span style="font-size:20px;color:black;font-weight:bold;"> | 您的私人订制</span>
				</div>
>>>>>>> 31e42f2d3415b82d4888522298db4e7de5f9c8aa
					<div class="login-box">

						<div class="am-tabs" id="doc-my-tabs">
							<ul class="am-tabs-nav am-nav am-nav-tabs am-nav-justify">
								<li class="am-active"><a href="">邮箱注册</a></li>
								<li><a href="">手机号注册</a></li>
							</ul>

							<div class="am-tabs-bd" style="top:-20px">
								<div class="am-tab-panel am-active">
									<form method="post" action="/home/register/insert" style="padding:0;" >
										{{ csrf_field() }}
										<div class="user-email">
											<label for="email"><i class="am-icon-envelope-o"></i></label>
											<input type="email" name="email" id="email" placeholder="请输入邮箱账号">
										</div>	
										<div class="user-email" style="height:12px;">
<<<<<<< HEAD
											<img src="" alt="" id="cunzai">
=======
											<img src="" alt="" id="cunzai1">
>>>>>>> 31e42f2d3415b82d4888522298db4e7de5f9c8aa
											<span style="font-size:12px;position:relative;top:-3px;" id="one"></span>
										</div>

										<div class="user-pass">
											<label for="password"><i class="am-icon-lock"></i></label>
											<input type="password" name="userpwd" id="password" placeholder="请设置以字母开头的8-16位的密码">
										</div>	
										<div class="user-email" style="height:12px;">
<<<<<<< HEAD
											
=======
											<img src="" alt="" id="cunzai2">
>>>>>>> 31e42f2d3415b82d4888522298db4e7de5f9c8aa
											<span style="font-size:12px;" id="two"></span>
										</div>									
										<div class="user-pass">
											<label for="passwordRepeat"><i class="am-icon-lock"></i></label>
											<input type="password" name="reuserpwd" id="passwordRepeat" placeholder="确认密码">
										</div>
										<div class="user-email" style="height:12px;">
<<<<<<< HEAD
=======
											<img src="" alt="" id="cunzai3">
>>>>>>> 31e42f2d3415b82d4888522298db4e7de5f9c8aa
											<span style="font-size:12px;" id="three"></span>
										</div>	
										<div class="verification">
											<label for="code"><i class="am-icon-code-fork"></i></label>
											<input type="tel" name="code" id="code" placeholder="请输入验证码" style="width:200px;">
											<a href="#" style="position:relative;top:-41px;left:200px;"><img src="/code" onclick="this.src=this.src+'?a=1'"></a>
										</div>
										<div class="user-email" style="height:12px;">
<<<<<<< HEAD
=======
											<img src="" alt="" id="cunzai4">
>>>>>>> 31e42f2d3415b82d4888522298db4e7de5f9c8aa
											<span style="font-size:12px;" id="four"></span>
										</div>	
										<div style="height:15px;lineheight:15px;">
											
												<input type="checkbox" name="xuanze[]" value="1" style="width:14px;position:relative;top:-6px"> <span style="position:relative;top:-23px;font-size:13px;">点击表示您同意商城《服务协议》</span>
												<!-- <input type="checbox"> 点击表示您同意商城《服务协议》 -->
										
										</div> 
										<div class="user-email" style="height:12px;position:relative;top:13px;">
<<<<<<< HEAD
=======
											<img src="" alt="" id="cunzai5">
>>>>>>> 31e42f2d3415b82d4888522298db4e7de5f9c8aa
											<span style="font-size:12px;" id="five"></span>
										</div>	
										<div class="am-cf">
											<input type="submit" name="" onclick="return fun()" value="注册" class="am-btn am-btn-primary am-btn-sm am-fl">
										</div>
									</form>

							

								</div>

								<div class="am-tab-panel">
<<<<<<< HEAD
									<form method="post">
										<div class="user-phone">
											<label for="phone"><i class="am-icon-mobile-phone am-icon-md"></i></label>
											<input type="tel" name="" id="phone" placeholder="请输入手机号">
										</div>																			
										<div class="verification">
											<label for="code"><i class="am-icon-code-fork"></i></label>
											<input type="tel" name="" id="code" placeholder="请输入验证码">
											<a class="btn" href="javascript:void(0);" onClick="sendMobileCode();" id="sendMobileCode">
											<span id="dyMobileButton">获取</span></a>
										</div>
										<div class="user-pass">
											<label for="password"><i class="am-icon-lock"></i></label>
											<input type="password" name="" id="password" placeholder="设置密码">
										</div>										
										<div class="user-pass">
											<label for="passwordRepeat"><i class="am-icon-lock"></i></label>
											<input type="password" name="" id="passwordRepeat" placeholder="确认密码">
										</div>	
									</form>
									<div class="login-links">
										<label for="reader-me">
											<input id="reader-me" type="checkbox"> 点击表示您同意商城《服务协议》
										</label>
									</div>
									<div class="am-cf">
										<input type="submit" name="" value="注册" class="am-btn am-btn-primary am-btn-sm am-fl">
									</div>
=======
									<form method="post" action="/home/register/insert2">
										{{ csrf_field() }}
										<div class="user-phone">
											<label for="phone"><i class="am-icon-mobile-phone am-icon-md"></i></label>
											<input type="tel" name="tel" id="phone" placeholder="请输入手机号">
										</div>	
										<div class="user-email" style="height:12px;">
											<img src="" alt="" id="cunzai6">
											<span style="font-size:12px;position:relative;top:-3px;" id="six"></span>
										</div>																		
										<div class="verification">
											<label for="code"><i class="am-icon-code-fork"></i></label>
											<input type="tel" name="code" id="telcode" placeholder="请输入验证码">
											<a class="btn" href="javascript:void(0);" onClick="get_mobile_code();" id="sendMobileCode">
											<span id="dyMobileButton" style="width:100px;">获取</span></a>
										</div>
										<div class="user-email" style="height:12px;">
											<img src="" alt="" id="cunzai7">
											<span style="font-size:12px;position:relative;top:-3px;" id="qi"></span>
										</div>
										<div class="user-pass">
											<label for="password"><i class="am-icon-lock"></i></label>
											<input type="password" name="userpwd" id="telpassword" placeholder="设置密码">
										</div>	
										<div class="user-email" style="height:12px;">
											<img src="" alt="" id="cunzai8">
											<span style="font-size:12px;position:relative;top:-3px;" id="ba"></span>
										</div>									
										<div class="user-pass">
											<label for="passwordRepeat"><i class="am-icon-lock"></i></label>
											<input type="password" name="reuserpwd" id="telpasswordRepeat" placeholder="确认密码">
										</div>
										<div class="user-email" style="height:12px;">
											<img src="" alt="" id="cunzai9">
											<span style="font-size:12px;position:relative;top:-3px;" id="jiu"></span>
										</div>
										<div style="height:15px;lineheight:15px;">
											<input style="width:14px;position:relative;top:-10px" type="checkbox"> <span style="position:relative;top:-27px;font-size:13px;">点击表示您同意商城《服务协议》</span>
										</div>
										<div class="user-email" style="height:12px;">
											<img src="" alt="" id="cunzai10" style="position:relative;top:15px;">
											<span style="font-size:12px;position:relative;top:10px;" id="shi"></span>
										</div>
										<div class="am-cf">
											<input type="submit" name="" value="注册" class="am-btn am-btn-primary am-btn-sm am-fl" onclick="return fun2();">
										</div>	
									</form>
									
>>>>>>> 31e42f2d3415b82d4888522298db4e7de5f9c8aa

									<hr>
								</div>

								<script>
									$(function() {
									    $('#doc-my-tabs').tabs();
									  })
								</script>

								</div>
							</div>

					</div>
			</div>

			<div class="footer ">
				<div class="footer-hd ">
					<p>
						<a href="# ">恒望科技</a>
						<b>|</b>
						<a href="# ">商城首页</a>
						<b>|</b>
						<a href="# ">支付宝</a>
						<b>|</b>
						<a href="# ">物流</a>
					</p>
				</div>
				<div class="footer-bd ">
					<p>
						<a href="# ">关于恒望</a>
						<a href="# ">合作伙伴</a>
						<a href="# ">联系我们</a>
						<a href="# ">网站地图</a>
						<em>© 2015-2025 Hengwang.com 版权所有</em>
					</p>
				</div>
		</div>
<<<<<<< HEAD
	</body>
		<script>
			// 设置跳转标示
			var k1 =false
			var k2 =false
			var k3 =false
			var k4 =false

			$('#email').focusout(function(){
				if($('#email').val() == ''){
					$('#one').text('邮箱不能为空').attr({'style':'font-size:12px;position:relative;top:-3px;color:red;'})
				}else{
					var ret = /^[\w-]+(\.[\w-]+)*@[\w-]+(\.[\w-]+)+$/;
					if(!ret.test($('#email').val())){
						$('#cunzai').attr({'src':'/homes/js/images/error.png'})
						$('#one').text('邮箱格式不正确').attr({'style':'font-size:12px;position:relative;top:-3px;color:red;'})
					}else{
						$.get('/ajax/index','email='+$('#email').val(), function(a){
							// alert(a)
						if(a == 1){
								$('#cunzai').attr({'src':'/homes/js/images/error.png'})
								$('#one').text('邮箱已存在').attr({'style':'font-size:12px;position:relative;top:-3px;color:red;'})
						}else if(a == 2){
								 k1 = true
								$('#cunzai').attr({'src':'/homes/js/images/right.png'})
								$('#one').text('恭喜邮箱可以使用').attr({'style':'font-size:12px;position:relative;top:-3px;color:green;'})
							}
						})
					}
				}
			
				
			}).focusin(function(){
				$('#cunzai').attr({'src':''})
				$('#one').text('')
			})

			$('#password').focusin(function(){
				
				$('#two').text('')
			}).focusout(function(){
				// alert(11)
				if($('#password').val() == ''){
					$('#two').text('密码不能为空').attr({'style':'font-size:12px;position:relative;top:-3px;color:red;'})
				}else{
					var pattern = /^[a-zA-Z]\w{7,15}$/
					// alert($('#password').val())
					var res = pattern.test($('#password').val())
					// alert(res)

					if(!res){
						$('#two').text('密码请填写以字母开头的6-18位').attr({'style':'font-size:12px;position:relative;top:-3px;color:red;'})
					}else{
						 k2 = 1
					}
				}
				
				
			})
			$('#passwordRepeat').focusin(function(){
				
				$('#three').text('')
			}).focusout(function(){
				if($('#passwordRepeat').val() == ''){
					$('#three').text('确认密码不能为空').attr({'style':'font-size:12px;position:relative;top:-3px;color:red;'})
				}else{
					if($('#passwordRepeat').val() != $('#password').val()){
						$('#three').text('密码与确认密码不一致').attr({'style':'font-size:12px;position:relative;top:-3px;color:red;'})
					}else{
						 k3 =1
					}
				}
				
				
			})
			$('#code').focusout(function(){
				if($('#code').val() == ''){
						$('#four').text('验证码不能为空').attr({'style':'font-size:12px;position:relative;top:-3px;color:red;'})
				}else{
					// alert(1)
					$.get('/ajax/code',function(b){
						if($('#code').val() != b){
							$('#four').text('验证码不正确').attr({'style':'font-size:12px;position:relative;top:-3px;color:red;'})
						}else{
							 k4 = 1
						}
					})
			
				}
			
			}).focusin(function(){
					$('#four').text('')
				})
		
			function fun(){
				// alert($('input:checked').val())
				if(!k1){
					$('#one').text('邮箱不能为空').attr({'style':'font-size:12px;position:relative;top:-3px;color:red;'})
					return false
				}else if(!k2){
					$('#two').text('密码不能为空').attr({'style':'font-size:12px;position:relative;top:-3px;color:red;'})
					return false
				}else if(!k3){
					$('#three').text('确认密码不能为空').attr({'style':'font-size:12px;position:relative;top:-3px;color:red;'})
					return false
				}else if(!k4){
					$('#four').text('验证码不能为空').attr({'style':'font-size:12px;position:relative;top:-3px;color:red;'})
					return false
				}else if(!$('input:checked').val()){
					$('#five').text('请点击表示您同意商城《服务协议》').attr({'style':'font-size:12px;position:relative;top:-3px;color:red;'})
					return false
				}else{
					return true;
				}
			
				
				
			}

		</script>	

=======
	</body>	
<script src="/homes/AmazeUI-2.4.2/assets/js/register.js"></script>
>>>>>>> 31e42f2d3415b82d4888522298db4e7de5f9c8aa
</html>